package com.atguigu.mybatis.dao;

import com.atguigu.bean.Employee;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author : leimingchao
 * @version V1.0
 * @Project: mybatis
 * @Package com.atguigu.mybatis.dao
 * @Description: TODO
 * @date Date : 2021年05月21日 19:33
 */
public interface EmployeeMapperDynamicSQL {

    List<Employee> getEmployeesByConditionIf(Employee employee);

    List<Employee> getEmployeesByConditionTrim(Employee employee);

    List<Employee> getEmployeesByConditionChoose(Employee employee);

    void updateEmployee(Employee employee);

    List<Employee> getEmployeesByConditionForeach(@Param("ids") List<Integer> ids);

    void addEmployees(@Param("employees") List<Employee> employees);

    List<Employee> getEmployeesTestInnerParameter(Employee employee);
}
